Greater Common Divisor def greater_common_divisor(a, b): """Implementation of greater common divisor""" while a % b != 0: a, b = b, a % b return b Python Snippet Dec 10 2018